Skip to content

Conversation

@gtbuchanan
Copy link
Contributor

@gtbuchanan gtbuchanan commented Nov 13, 2025

The upstream vscode-eslint repo doesn't appear to provide the VSIX on the GitHub releases anymore.

The updated server runs fine, but it's still not showing diagnostics for me with ESLint flat file config. I'm thinking I need to do something like this in .vimrc, but it might override the built-in settings from vim-lsp-settings:

let g:lsp_settings = {
\   'eslint-language-server': {
\     'workspace_config': {
\       'useFlatConfig': v:true,
\     }
\   }
\ }

I'm open to assistance. I'm definitely not an expert with language servers

Resolves: #783

@mattn
Copy link
Owner

mattn commented Nov 13, 2025

Thank you. Could you please add your code into this?

\ 'workspace_config': lsp_settings#get('eslint-language-server', 'workspace_config', {
\ 'validate': 'probe',
\ 'packageManager': 'npm',
\ 'codeActionOnSave': {
\ 'enable': v:true,
\ 'mode': 'all',
\ },

@mattn mattn marked this pull request as ready for review November 17, 2025 14:49
@mattn
Copy link
Owner

mattn commented Nov 17, 2025

LGTM

@mattn mattn merged commit 3321ad0 into mattn:master Nov 17, 2025
14 checks passed
@mattn
Copy link
Owner

mattn commented Nov 17, 2025

Thank you

@gtbuchanan gtbuchanan deleted the fix/vscode-eslint-outdated branch November 17, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESLint with Flat File Config?

2 participants